Q3Style_GetType
You can use theQ3Style_GetType
function to get the type of a style object.
TQ3ObjectType Q3Style_GetType (TQ3StyleObject style);
style
- A style object.
DESCRIPTION
TheQ3Style_GetType
function returns, as its function result, the type of the style object specified by thestyle
parameter. The types of style objects currently supported by QuickDraw 3D are defined by these constants:
kQ3StyleTypeBackfacing kQ3StyleTypeFill kQ3StyleTypeHighlight kQ3StyleTypeInterpolation kQ3StyleTypeOrientation kQ3StyleTypePickID kQ3StyleTypePickParts kQ3StyleTypeReceiveShadows kQ3StyleTypeSubdivisionIf the specified style object is invalid or is not one of these types,Q3Style_GetType
returns the valuekQ3ObjectTypeInvalid
.